import { isNaN } from 'lodash-es'

export async function validateUID(value: string | number) {
  const num = Number(value)
  console.log(num)
  if (!isNaN(num) && Number(value) >= 1) {
    return Promise.resolve(true)
  }
  return Promise.resolve(false)
}
